<?php
	class NoteModel {
        public
            $id,
            $userId,
            $text;
        function __construct($args){
            foreach($args as $index => $value){
                $this->$index = $value;
            }
        }
    }
?>